﻿using System;

namespace RoslynProxy.Core.RoslynProxyAttributes
{
    /// <summary>
    /// 代理属性
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class RoslynProxyAttribute : Attribute
    {

        public Type? ProxyType { get; }

        public RoslynProxyAttribute()
        {
            ProxyType = default;
        }

        public RoslynProxyAttribute(Type proxyType)
        {
            ProxyType = proxyType;
        }
    }
}
